const tabbar = {
    state: {
        tabbarArr: [{
            pagePath: "/pages/coin/index",
            iconPath: "/static/tabBar/index.png",
            selectedIconPath: "/static/tabBar/index_cur.png",
            text: "首页"
        }, {
            pagePath: "/pages/news/index",
            iconPath: "/static/tabBar/order.png",
            selectedIconPath: "/static/tabBar/order_cur.png",
            text: "资讯"
        }, {
            pagePath: "/pages/deal/dealDetail",
            iconPath: "/static/logo.png",
            selectedIconPath: "/static/logo.png",
            midButton: true,
            text: "交易"
        }, {
            pagePath: "/pages/coin/quantization",
            iconPath: "/static/tabBar/shop.png",
            selectedIconPath: "/static/tabBar/shop_cur.png",
            text: "量化"
        },{
            pagePath: "/pages/user/center",
            iconPath: "/static/tabBar/me.png",
            selectedIconPath: "/static/tabBar/me_cur.png",
            text: "我的"
        }]
    },
    // getters 适用于获取值，不会改变state原值
    getters: {
        getState (state) {
            return state
        },
        getTabbar(state) {
            return state.tabbarArr
        }
    },

    // 修改state
    mutations: {

    },
    actions: {

    }
}
export default tabbar